home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / des_c.exe / lha / README < prev    next >
Text File  |  1990-07-14  |  3KB  |  75 lines

  1. This package was originally came with uudecode and uuencode programs which
  2. make a binary file into ASCII.  These have been replaced with atob and
  3. btoa binaries.  Only the source to the above two is included for those who
  4. want to have them.
  5.  
  6. ----
  7.  
  8. Path: uunet!rs
  9. From: rs@uunet.UU.NET (Rich Salz)
  10. Newsgroups: comp.sources.unix
  11. Subject: v10i031: DES encryption routines and a login front-end
  12. Message-ID: <523@uunet.UU.NET>
  13. Date: 2 Jul 87 03:04:55 GMT
  14. Organization: UUNET Communications Services, Arlington, VA
  15. Lines: 1781
  16. Approved: rs@uunet.uu.net
  17.  
  18. Mod.Sources: Volume 10, Number 31
  19. Submitted by: Bdale Garbee <winfree!bdale>
  20. Archive-name: des
  21.  
  22. [  Those of you who have a copy of the Volume 6 posting should consider
  23.    this a replacement for it.  Those of you concerned about the legality
  24.    of posting this, don't be --r$  ]
  25.  
  26. Rich - Here is an updated copy of the DES routines shar file.  Phil found
  27. and fixed a bug in the main.c module that caused the DES program to
  28. occasionally mutilate keys resulting in un-decodable files.  He also has
  29. now included uuencode and uudecode routines, which are helpful for creating
  30. filters into and out of mail systems... since many mailers don't deal with
  31. 8-bit data.
  32.  
  33. Regards,
  34.  
  35. Bdale Garbee, N3EUA        phone: 303/593-9828 h, 303/590-2868 w
  36. uucp: {bellcore,crash,hp-lsd,hpcsma,ncc,pitt,usafa,vixie}!winfree!bdale
  37. fido: sysop of 128/19        packet: n3eua @ k0hoa, Colorado Springs
  38.  
  39. - - - - - - - - - -
  40.  
  41. This package contains a DES subroutine library based on the original public
  42. domain code by James Gillogly, but made faster and more flexible. Commands
  43. using this library have been added for testing and for encrypting and
  44. decrypting files (compatible with the DES command under Sun UNIX), among
  45. other things.
  46.  
  47. Run make. That will compile everything and run test data (from the NBS
  48. certification suite) through it.  It runs as-is under UNIX. It will run
  49. under MS-DOS with a few minor changes: make sure you define LITTLE_ENDIAN
  50. when compiling des.c, and change the name of the console in getpass.c.  If
  51. you have the byte order flag set wrong, you will get ENCRYPT FAIL messages
  52. when the descert test is run.
  53.  
  54. radlogin.c is an experimental program for secure UNIX login via insecure
  55. channels (like amateur packet radio). Make it and set it up as the login
  56. shell for a special, password-free login (e.g., "radio"). When it starts the
  57. user will be asked his REAL login name, which is then looked up in
  58. /etc/rkeys. (This file must be read protected since it contains DES keys).
  59. The time of day is then printed in hex as a challenge. The user must encrypt
  60. it using DES and his key and type the answer back.  The user may use the
  61. program "descalc" to perform his local calculation. All this is very clumsy;
  62. it works, but after all it's only experimental.
  63.  
  64. Phil Karn, KA9Q
  65. bellcore!karn aka karn@flash.bellcore.com
  66.  
  67. - - - - -
  68. Subject: Re:  rkeys file
  69.  
  70. rkeys:
  71. karn 0123456789abcdef
  72. uid  des_key_in_hex
  73.  
  74. - - - - -
  75.